package com.wl.dzt.basic.entity;

import com.wl.dzt.sys.annotation.Column;
import com.wl.dzt.sys.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wl.dzt.basic.entity.BasicOrganization;

import java.io.Serializable;

@ApiModel("BasicRole")
@Table("basic_role")
public class BasicRole implements Serializable {

    @ApiModelProperty(value = "角色名称", name = "roleName")
    @Column(value = "role_name", text = "角色名称", maxLength = 100)
    private String roleName;


    @ApiModelProperty(value = "角色排序", name = "roleSort")
    @Column(value = "role_sort", text = "角色排序", maxLength = 5)
    private Integer roleSort;


    @ApiModelProperty(value = "角色说明", name = "roleReson")
    @Column(value = "role_reson", text = "角色说明", maxLength = 32767)
    private String roleReson;


    @ApiModelProperty(value = "角色类型", name = "roleType")
    @Column(value = "role_type", text = "角色类型", maxLength = 5)
    private String roleType;


    @ApiModelProperty(value = "角色编码", name = "roleCode")
    @Column(value = "role_code", text = "角色编码", maxLength = 100)
    private String roleCode;


    @ApiModelProperty(value = "编号", name = "id")
    @Column(value = "id", text = "编号", maxLength = 32)
    private String id;


    @ApiModelProperty(value = "所属组织机构", name = "organId")
    @Column(value = "organ_id", text = "所属组织机构", maxLength = 32)
    private BasicOrganization organId;

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getRoleSort() {
        return roleSort;
    }

    public void setRoleSort(Integer roleSort) {
        this.roleSort = roleSort;
    }

    public String getRoleReson() {
        return roleReson;
    }

    public void setRoleReson(String roleReson) {
        this.roleReson = roleReson;
    }

    public String getRoleType() {
        return roleType;
    }

    public void setRoleType(String roleType) {
        this.roleType = roleType;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public BasicOrganization getOrganId() {
        return organId;
    }

    public void setOrganId(BasicOrganization organId) {
        this.organId = organId;
    }
}
